package com.edu.service;

import java.util.List;

import com.edu.bean.Page;
import com.edu.bean.Upkeep;

public interface UpkeepService {
	/**
	 * 根据分页查询所有保养
	 * @return
	 */
	Page<Upkeep> selectUpkeepAll(Upkeep upkeep,int pageNum,int pageSize);
	/**
	 * 根据id来删除保养
	 * @param orderid
	 * @return
	 */
	int deleteupkeepById(int upkeepid);
	/**
	 * 全字段修改
	 * @param order
	 * @return
	 */
	int updateUpkeep(Upkeep upkeep);
	/**
	 * 根据Id来查询保养
	 * @param orderid
	 * @return
	 */
	Upkeep selectUpkeepById(int upkeepid);
	/**
	 * 添加保养项目
	 * @param upkeep
	 * @return
	 */
	int addupkeep(Upkeep upkeep);
}
